package com.example.service;

import java.util.List;

import com.example.model.Category;
import com.example.model.query.CategoryExample;
import com.example.service.CategoryService;

/**
 * Created on 2017/12/26 18:50
 */
public interface CategoryService {


    Category selectByPrimaryKey(Byte id);

    List<Category> selectByExample(CategoryExample q);


    Object insert(Category t);

	Object insertSelective(Category t);


    Object updateByPrimaryKey(Category t);

	Object updateByPrimaryKeySelective(Category t);

	Object updateByExample(Category t, CategoryExample q);

	Object updateByExampleSelective(Category t, CategoryExample q);

	Long countByExample(CategoryExample q);


    Integer deleteByPrimaryKey(Byte id);

	Integer deleteByExample(CategoryExample q);

}
